package cn.fay.chapter04;

import java.util.Random;

public class Test3 {

	
	public static void main(String[] args) {
		Random rand=new Random();
		int temp=rand.nextInt(100);
		while (true) {
			int x=rand.nextInt(100);
			if(x>temp)
				System.out.println(x+">"+temp);
			else if(x==temp){
				System.out.println(x+"="+temp);
			}
			else {
				System.out.println(x+"<"+temp);
			}
			temp=x;
		}

	}

}
